﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SkuPickLoc.aspx.cs" Inherits="WMS6.Web.Configuration.SkuPickLoc" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>SkuPickLoc</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
               //弹出窗口选择货主
        function selectLoc()
        {
            var rtnValue = popModalWindow('../Configuration/LocationQuery.aspx?action=txtLocID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtLocID").focus();
                document.getElementById("txtLocID").value = rtnValue;
            }
        }
    </script>
</head>
<body>
    <form id="F2065" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblAreaDetail" runat="server" 
                            CssClass="label_header" Text="拣货货位明细" meta:resourcekey="lblAreaDetail"></asp:Label></td>
                    <td><asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="返回" 
                            AccessKey="c" onclick="btnGoBack_Click" Enabled="False" 
                            meta:resourcekey="btnGoBack" /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="保存" 
                            AccessKey="s" onclick="btnSave_Click"  Enabled="False" 
                            meta:resourcekey="btnSave" /></td>
                </tr>
            </table>
        </div>
        
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="imgL1"></div>
            </div>
            <div class="tabLabelCont tabCur" id="div1">
                <asp:Label ID="one1" runat="server" class="hover" Text="拣货货位明细" 
                    meta:resourcekey="one1"></asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="imgR1"></div>
            </div>
        </div>
        
        <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="540" style="display: block; margin-left: 10px; margin-top: 10px;">
                 <tr>
                         <td width="180">
                             <asp:Label ID="lblLocationType" runat="server" CssClass="label" Text="货位用途" 
                                 meta:resourcekey="lblLocationType"></asp:Label>
                         </td>
                         <td width="180">
                           <asp:Label ID="lblLocID" runat="server" CssClass="label" Text="货位" 
                                 meta:resourcekey="lblLocID"></asp:Label><span class="must_input">*</span>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:DropDownList ID="ddlLocationType" runat="server" 
                                 CssClass="mediumselectbox" meta:resourcekey="ddlLocationType">
                             </asp:DropDownList>                            
                         </td>
                         <td>
                             <asp:TextBox ID="txtLocID" runat="server" CssClass="textbox" MaxLength="30" 
                                 meta:resourcekey="txtLocID" ></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLoc();"/>
                             </td>
                         <td>
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblQtyLocationLimit" runat="server" CssClass="label" Text="容量上限" 
                                 meta:resourcekey="lblQtyLocationLimit"></asp:Label>
                         </td>
                         <td width="180">
                               <asp:Label ID="lblQtyLocationMinimum" runat="server" CssClass="label" 
                                   Text="容量下限" meta:resourcekey="lblQtyLocationMinimum"></asp:Label></td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtQtyLocationLimit" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtQtyLocationLimit" ></asp:TextBox>
                         </td>
                         <td>
                          <asp:TextBox ID="txtQtyLocationMinimum" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtQtyLocationMinimum" ></asp:TextBox>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180">
                             <asp:Label ID="lblReplenishmentUom" runat="server" CssClass="label" 
                                 Text="最小补货单位" meta:resourcekey="lblReplenishmentQty"></asp:Label>
                         </td>
                         <td width="180">
                          <asp:Label ID="lblReplenishmentPriority" runat="server" CssClass="label" 
                                 Text="补货优先级" meta:resourcekey="lblReplenishmentPriority"></asp:Label>
                         </td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:DropDownList ID="ddlReplenishmentUom" runat="server" 
                                 CssClass="mediumselectbox" meta:resourcekey="ddlReplenishmentQty">
                             </asp:DropDownList>    
                         </td>
                         <td>
                          <asp:TextBox ID="txtReplenishmentPriority" runat="server" Enabled="false" CssClass="textbox" 
                                 meta:resourcekey="ddlReplenishmentPriority" ></asp:TextBox>
                             </td>
                         <td></td>
                     </tr>
                     <tr>
                         <td colspan=3>
                             <asp:CheckBox ID="chkAllowReplenishFromBulk" runat="server" CssClass="checkbox" 
                                 Text="允许从批量存储货位补货" meta:resourcekey="chkAllowReplenishFromBulk" /></td>
                         <td></td>
                         <td></td>
                     </tr>
                        <tr>
                         <td colspan=3>
                             <asp:CheckBox ID="chkAllowReplenishFromCasepick" runat="server" 
                                 CssClass="checkbox" Text="允许从箱拣货货位补货" 
                                 meta:resourcekey="chkAllowReplenishFromCasepick" /></td>
                         <td></td>
                         <td></td>
                     </tr> 
                     <tr>
                         <td colspan=3>
                             <asp:CheckBox ID="chkAllowReplenishFromPiecepick" runat="server" 
                                 CssClass="checkbox" Text="允许从件拣货货位补货" 
                                 meta:resourcekey="chkAllowReplenishFromPiecepick" /></td>
                         <td></td>
                         <td></td>
                     </tr>
                     
                     
                 </table>
             </div>
         </div>
    </div>
     <input type="hidden" id="hdnFrom" runat="server" />
    <input type="hidden" id="hdnOwnerID" runat="server" />
    <input type="hidden" id="hdnSkuID" runat="server" />
      <input type="hidden" id="hdnLocID" runat="server" />
    </form>
</body>
</html>
